﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace mapxp
{
    class Point
    {

        private double _x;
        private double _y;
        private double _z;

        //constractor
        public Point(double x, double y, double z)
        {
            _x = x;
            _y = y;
            _z = z;

        }
        //constractor withot z value
        public Point(double x, double y)
        {
            _x = x;
            _y = y;
        }
        //empty withot z value
        public Point()
        {
            _x = 0;
            _y = 0;
            _z = 0;
        }

        public double x_value()
        {
            return _x;
        }
        public double y_value()
        {
            return _y;
        }
        public double z_value()
        {
            return _z;
        }
        public void set_x_value(double x)
        {
            _x = x;
        }
        public void set_y_value(double y)
        {
            _y = y;
        }

        public void set_z_value(double z)
        {
            _z = z;
        }

    }


}


